.class public Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;
.super Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailBaseActy;


# instance fields
.field private j:Lcom/waiqin365/lightapp/chexiao/c/m;

.field private k:Lcom/waiqin365/lightapp/chexiao/a/r;

.field private l:Lcom/waiqin365/lightapp/chexiao/a/o;

.field private m:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailBaseActy;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->m:Ljava/util/List;

    return-void
.end method

.method private a()V
    .locals 14

    const-wide/high16 v2, 0x3ff0000000000000L    # 1.0

    new-instance v5, Lcom/waiqin365/base/print/v;

    invoke-direct {v5}, Lcom/waiqin365/base/print/v;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->b:Ljava/lang/String;

    iput-object v0, v5, Lcom/waiqin365/base/print/v;->D:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->a:Ljava/lang/String;

    iput-object v0, v5, Lcom/waiqin365/base/print/v;->E:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->n:Ljava/lang/String;

    iput-object v0, v5, Lcom/waiqin365/base/print/v;->F:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->h:Ljava/lang/String;

    iput-object v0, v5, Lcom/waiqin365/base/print/v;->G:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, v5, Lcom/waiqin365/base/print/v;->H:Ljava/lang/String;

    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v7, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->m:Ljava/util/List;

    const/4 v0, 0x0

    move v4, v0

    :goto_0
    if-eqz v7, :cond_2

    invoke-interface {v7}, Ljava/util/List;->size()I

    move-result v0

    if-ge v4, v0, :cond_2

    invoke-interface {v7, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/d;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->b()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v1, v8}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v8

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->h()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v1, v9}, Lcom/waiqin365/base/db/offlinedata/w;->e(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v1

    new-instance v9, Lcom/waiqin365/base/print/u;

    invoke-direct {v9}, Lcom/waiqin365/base/print/u;-><init>()V

    iget-object v10, v0, Lcom/waiqin365/lightapp/product/d/d;->a:Ljava/lang/String;

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->c:Ljava/lang/String;

    iget-object v10, v0, Lcom/waiqin365/lightapp/product/d/d;->b:Ljava/lang/String;

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->d:Ljava/lang/String;

    iget-object v10, v0, Lcom/waiqin365/lightapp/product/d/d;->j:Ljava/lang/String;

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->k:Ljava/lang/String;

    iget-object v10, v0, Lcom/waiqin365/lightapp/product/d/d;->i:Ljava/lang/String;

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->j:Ljava/lang/String;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->b()Ljava/lang/String;

    move-result-object v10

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->b:Ljava/lang/String;

    iget-object v10, v0, Lcom/waiqin365/lightapp/product/d/d;->f:Ljava/lang/String;

    iput-object v10, v9, Lcom/waiqin365/base/print/u;->e:Ljava/lang/String;

    new-instance v10, Ljava/lang/StringBuilder;

    invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/d;->g()Ljava/lang/Double;

    move-result-object v0

    const-wide/16 v12, 0x0

    invoke-static {v0, v12, v13}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v12

    if-eqz v1, :cond_0

    invoke-virtual {v1}, Lcom/waiqin365/base/db/offlinedata/s;->e()Ljava/lang/Double;

    move-result-object v0

    invoke-static {v0, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v0

    :goto_1
    mul-double/2addr v0, v12

    invoke-virtual {v10, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    if-nez v8, :cond_1

    const-string/jumbo v0, ""

    :goto_2
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, v9, Lcom/waiqin365/base/print/u;->n:Ljava/lang/String;

    const-string/jumbo v0, "7"

    iput-object v0, v9, Lcom/waiqin365/base/print/u;->a:Ljava/lang/String;

    invoke-virtual {v6, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v4, 0x1

    move v4, v0

    goto/16 :goto_0

    :cond_0
    move-wide v0, v2

    goto :goto_1

    :cond_1
    invoke-virtual {v8}, Lcom/waiqin365/base/db/offlinedata/s;->c()Ljava/lang/String;

    move-result-object v0

    goto :goto_2

    :cond_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/print/PrintPreviewActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v2, "baseInfo"

    invoke-virtual {v1, v2, v5}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    const-string/jumbo v2, "infos"

    invoke-virtual {v1, v2, v6}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    invoke-virtual {v0, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    const-string/jumbo v1, "function_type"

    const-string/jumbo v2, "6"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->startActivity(Landroid/content/Intent;)V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailBaseActy;->onClick(Landroid/view/View;)V

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a()V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0092
        :pswitch_0
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 10

    const-wide/16 v8, 0x3c

    const/16 v7, 0x8

    const/4 v6, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailBaseActy;->onCreate(Landroid/os/Bundle;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f080646

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const v2, 0x7f080252

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "CXRecordTHItem"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/m;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    if-nez v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->finish()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->a:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->n:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->o:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_9

    :cond_1
    const-string/jumbo v0, ""

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->n:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const v1, 0x7f08064a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->n:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->o:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_4

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\n"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_3
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const v1, 0x7f08069a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->d:Z

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02006f

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->d:Landroid/widget/TextView;

    const v1, 0x7f0807a9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v3, v3, Lcom/waiqin365/lightapp/chexiao/c/m;->m:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v2, v6

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/r;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v2, v2, Lcom/waiqin365/lightapp/chexiao/c/m;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/a/r;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->k:Lcom/waiqin365/lightapp/chexiao/a/r;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->m:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->f:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->k:Lcom/waiqin365/lightapp/chexiao/a/r;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setAdapter(Landroid/widget/ListAdapter;)V

    :cond_5
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/c/c;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/c/c;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->f:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->h:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->c:Ljava/lang/String;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->m:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "2"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    :cond_6
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/c/c;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/chexiao/c/c;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->j:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->k:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/chexiao/c/c;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->m:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_7
    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/o;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->m:Ljava/util/List;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightapp/chexiao/a/o;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->l:Lcom/waiqin365/lightapp/chexiao/a/o;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->g:Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->l:Lcom/waiqin365/lightapp/chexiao/a/o;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ListViewInScroller;->setAdapter(Landroid/widget/ListAdapter;)V

    return-void

    :cond_8
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->b:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_0

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->c:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    goto/16 :goto_1

    :cond_a
    const-string/jumbo v0, "0"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02006d

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_b
    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/m;->l:Ljava/lang/String;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss"

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kaoqin/f/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->h:Ljava/lang/String;

    const-string/jumbo v2, "yyyy-MM-dd HH:mm"

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/kaoqin/f/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    if-eqz v0, :cond_d

    if-eqz v1, :cond_d

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v1}, Ljava/util/Date;->getTime()J

    move-result-wide v0

    sub-long v0, v2, v0

    invoke-static {}, Lcom/waiqin365/lightapp/chexiao/d/a;->h()J

    move-result-wide v2

    const-wide/16 v4, 0x18

    mul-long/2addr v2, v4

    mul-long/2addr v2, v8

    mul-long/2addr v2, v8

    const-wide/16 v4, 0x3e8

    mul-long/2addr v2, v4

    cmp-long v0, v0, v2

    if-gez v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_2

    :cond_c
    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->j:Lcom/waiqin365/lightapp/chexiao/c/m;

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/c/m;->c:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->mContext:Landroid/content/Context;

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f02006e

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->e:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_3

    :cond_d
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailTHActy;->a:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->k:Landroid/widget/ImageView;

    invoke-virtual {v0, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_4
.end method
